﻿<Window x:Class="Prototipos.AnalisisRiesgos.GestionRiesgos"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="GestionRiesgos" Height="500" Width="600">
    <DockPanel>
        <Grid DockPanel.Dock="Bottom" Height="40">
            <Button Content="Guardar" Height="23" HorizontalAlignment="Left" Margin="356,10,0,0" Name="button1" VerticalAlignment="Top" Width="75" />
            <Button Content="Cancelar" Height="23" HorizontalAlignment="Left" Margin="464,10,0,0" Name="button2" VerticalAlignment="Top" Width="75" />
        </Grid>
        <TabControl DockPanel.Dock="Top">            
            <TabItem Header="Proceso">
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="76" />
                        <ColumnDefinition Width="492" />
                    </Grid.ColumnDefinitions>
                    <Label Content="Jefatura/Gerencia" Height="28" HorizontalAlignment="Left" Margin="17,39,0,0" Name="label13" VerticalAlignment="Top" Grid.ColumnSpan="2" />
                    <Label Content="Proceso" Height="28" HorizontalAlignment="Left" Margin="17,73,0,0" Name="label14" VerticalAlignment="Top" />
                    <Label Content="Area/Subproceso" Height="28" HorizontalAlignment="Left" Margin="17,107,0,0" Name="label15" VerticalAlignment="Top" Grid.ColumnSpan="2" />
                    <Label Content="Actividad/Tarea/Lugar" Height="28" HorizontalAlignment="Left" Margin="17,141,0,0" Name="label16" VerticalAlignment="Top" Grid.ColumnSpan="2" />
                    <Label Content="Peligro" Height="28" HorizontalAlignment="Left" Margin="17,175,0,0" Name="label17" VerticalAlignment="Top" />
                    <ComboBox Height="23" HorizontalAlignment="Left" Margin="89,44,0,0" Name="textBox6" VerticalAlignment="Top" Width="120" Grid.Column="1" />
                    <ComboBox Height="23" HorizontalAlignment="Left" Margin="89,78,0,0" Name="textBox7" VerticalAlignment="Top" Width="273" Grid.Column="1" />
                    <ComboBox Height="23" HorizontalAlignment="Left" Margin="89,112,0,0" Name="textBox8" VerticalAlignment="Top" Width="273" Grid.Column="1" />
                    <TextBox Height="23" HorizontalAlignment="Left" Margin="89,146,0,0" Name="textBox9" VerticalAlignment="Top" Width="120" Grid.Column="1" />
                    <TextBox Height="86" HorizontalAlignment="Left" Margin="17,209,0,0" Name="textBox10" VerticalAlignment="Top" Width="268" Grid.ColumnSpan="2" />
                    <Button Grid.Column="1" Height="23" HorizontalAlignment="Left" Margin="242,39,0,0" Name="button5" VerticalAlignment="Top" Width="46">
                        <Button.Content>
                            <Image Source="Resources\magnifier.png" />
                        </Button.Content>
                    </Button>
                    <Button Height="23" HorizontalAlignment="Left" Margin="383,78,0,0" Name="button6" VerticalAlignment="Top" Width="46" Grid.Column="1">
                        <Image Source="Resources\magnifier.png" />
                    </Button>
                    <Button Height="23" HorizontalAlignment="Left" Margin="383,112,0,0" Name="button7" VerticalAlignment="Top" Width="46" Grid.Column="1">
                        <Image Source="Resources\magnifier.png" />
                    </Button>
                    <Button Height="23" HorizontalAlignment="Left" Margin="383,141,0,0" Name="button8" VerticalAlignment="Top" Width="46" Grid.Column="1">
                        <Image Source="Resources\magnifier.png" />
                    </Button>
                </Grid>
            </TabItem>
            <TabItem Header="Riesgo">
                <Grid>
                    <Label Content="Codigo del riesgo" Height="28" HorizontalAlignment="Left" Margin="14,12,0,0" Name="label1" VerticalAlignment="Top" Width="117" />
                    <ComboBox Height="23" HorizontalAlignment="Left" Margin="149,14,0,0" Name="comboBox1" VerticalAlignment="Top" Width="120" SelectedIndex="0">
                        <ComboBoxItem Content="1.1" />
                        <ComboBoxItem Content="1.2" />
                        <ComboBoxItem Content="1.3" />
                        <ComboBoxItem Content="1.4" />
                        <ComboBoxItem Content="1.5" />
                        <ComboBoxItem Content="1.6" />
                        <ComboBoxItem Content="1.7" />
                        <ComboBoxItem Content="1.8" />
                        <ComboBoxItem Content="2.1" />
                        <ComboBoxItem Content="3.1" />
                        <ComboBoxItem Content="4.1" />
                        <ComboBoxItem Content="ETC" />
                    </ComboBox>
                    <Label Content="Riesgo" Height="28" HorizontalAlignment="Left" Margin="14,48,0,0" Name="label2" VerticalAlignment="Top" />
                    <TextBox Height="23" HorizontalAlignment="Left" Margin="149,48,0,0" Name="textBox1" VerticalAlignment="Top" Width="384" Text="Caídas menores a distinto nivel (entre 0,3 y 1,8 m)" />
                    <Label Content="Humano/Infraestructura" Height="28" HorizontalAlignment="Left" Margin="14,77,0,0" Name="label3" VerticalAlignment="Top" />
                    <RadioButton Content="Humano" Height="16" HorizontalAlignment="Left" Margin="24,107,0,0" Name="radioButton1" VerticalAlignment="Top" />
                    <RadioButton Content="Infraestructura" Height="16" HorizontalAlignment="Left" Margin="24,129,0,0" Name="radioButton2" VerticalAlignment="Top" />
                    <Label Content="Ubicacion especifica" Height="28" HorizontalAlignment="Left" Margin="14,149,0,0" Name="label4" VerticalAlignment="Top" />
                    <Label Content="Causas que originan el riesgo" Height="28" HorizontalAlignment="Left" Margin="14,174,0,0" Name="label5" VerticalAlignment="Top" />
                    <Label Content="Posibles consecuencias a personas, equipos o materiales" Height="28" HorizontalAlignment="Left" Margin="14,203,0,0" Name="label6" VerticalAlignment="Top" />
                    <Label Content="Controles o medios de protección existentes" Height="28" HorizontalAlignment="Left" Margin="14,232,0,0" Name="label7" VerticalAlignment="Top" />
                    <Label Content="Frecuencia" Height="28" HorizontalAlignment="Left" Margin="14,286,0,0" Name="label8" VerticalAlignment="Top" />
                    <Label Content="Probabilidad:" Height="28" HorizontalAlignment="Left" Margin="14,257,0,0" Name="label9" VerticalAlignment="Top" />
                    <Label Content="No de expuestos" HorizontalAlignment="Left" Margin="14,315,0,46" Name="label10" Height="28" />
                    <Label Content="Existencia de controles" Height="28" HorizontalAlignment="Left" Margin="14,344,0,0" Name="label11" VerticalAlignment="Top" />
                    <Label Content="ALTA" Height="28" HorizontalAlignment="Left" Margin="149,257,0,0" Name="label12" VerticalAlignment="Top" Foreground="Red" />
                    <TextBox Height="23" HorizontalAlignment="Left" Margin="329,151,0,0" Name="textBox2" VerticalAlignment="Top" Width="204" />
                    <TextBox Height="23" HorizontalAlignment="Left" Margin="329,179,0,0" Name="textBox3" VerticalAlignment="Top" Width="204" />
                    <TextBox Height="23" HorizontalAlignment="Left" Margin="329,208,0,0" Name="textBox4" VerticalAlignment="Top" Width="204" />
                    <TextBox Height="23" HorizontalAlignment="Left" Margin="329,237,0,0" Name="textBox5" VerticalAlignment="Top" Width="204" />
                    <ComboBox Height="23" HorizontalAlignment="Left" Margin="149,291,0,0" Name="comboBox2" VerticalAlignment="Top" Width="120" />
                    <ComboBox Height="23" HorizontalAlignment="Left" Margin="149,320,0,0" Name="comboBox3" VerticalAlignment="Top" Width="120" />
                    <ComboBox Height="23" HorizontalAlignment="Left" Margin="149,349,0,0" Name="comboBox4" VerticalAlignment="Top" Width="120" />
                    <Label Content="Posibles Controles" Height="28" HorizontalAlignment="Left" Margin="329,257,0,0" Name="label18" VerticalAlignment="Top" />
                    <TextBox Height="86" HorizontalAlignment="Left" Margin="329,286,0,0" Name="textBox11" VerticalAlignment="Top" Width="204" />
                </Grid>
            </TabItem>
            <TabItem Header="Acciones">
                <Grid>
                    <Label Content="Procesos" Height="28" HorizontalAlignment="Left" Margin="27,14,0,0" Name="label19" VerticalAlignment="Top" />
                    <DataGrid AutoGenerateColumns="False" Height="204" HorizontalAlignment="Left" Margin="27,40,0,0" Name="dataGrid1" VerticalAlignment="Top" Width="522">
                        <DataGrid.Columns>
                            <DataGridTextColumn Header="Tipo" />
                            <DataGridTextColumn Header="Accion" />
                            <DataGridTextColumn Header="Responsable" />
                            <DataGridTextColumn Header="Fecha programada" />
                            <DataGridTextColumn Header="Fecha de ejecucion" />
                            <DataGridTextColumn Header="Status" />
                        </DataGrid.Columns>
                    </DataGrid>
                    <Button Content="Agregar" Height="23" HorizontalAlignment="Left" Margin="301,250,0,0" Name="button3" VerticalAlignment="Top" Width="75" />
                    <Button Content="Editar" Height="23" HorizontalAlignment="Left" Margin="406,250,0,0" Name="button4" VerticalAlignment="Top" Width="75" />
                    <Label Content="Plazo de Ejeución de Actividades" Height="28" HorizontalAlignment="Left" Margin="27,284,0,0" Name="label20" VerticalAlignment="Top" />
                    <Label Content="Fecha de Vencimiento de las actividades" Height="28" HorizontalAlignment="Left" Margin="27,311,0,0" Name="label21" VerticalAlignment="Top" />
                    <Label Content="Status" Height="28" HorizontalAlignment="Left" Margin="27,340,0,0" Name="label22" VerticalAlignment="Top" />
                    <TextBox Height="23" HorizontalAlignment="Left" Margin="269,345,0,0" Name="textBox14" VerticalAlignment="Top" Width="115" />
                    <DatePicker Height="25" HorizontalAlignment="Left" Margin="269,284,0,0" Name="datePicker1" VerticalAlignment="Top" Width="115" />
                    <DatePicker Height="25" HorizontalAlignment="Left" Margin="269,314,0,0" Name="datePicker2" VerticalAlignment="Top" Width="115" />
                </Grid>
            </TabItem>
            <TabItem Header="Medidas de efectividad">
                <Grid>
                    <Label Content="Valor de riesgo Actual" Height="28" HorizontalAlignment="Left" Margin="46,36,0,0" Name="label23" VerticalAlignment="Top" />
                    <Label Content="Factor K" Height="28" HorizontalAlignment="Left" Margin="46,70,0,0" Name="label24" VerticalAlignment="Top" />
                    <Label Content="Nuevo Nivel de riesgo numerico" Height="28" HorizontalAlignment="Left" Margin="46,104,0,0" Name="label25" VerticalAlignment="Top" />
                    <Label Content="Nuevo nivel de riesgo literal" Height="28" HorizontalAlignment="Left" Margin="46,138,0,0" Name="label26" VerticalAlignment="Top" />
                    <TextBox Height="23" HorizontalAlignment="Left" Margin="246,36,0,0" Name="textBox12" VerticalAlignment="Top" Width="120" />
                    <TextBox Height="23" HorizontalAlignment="Left" Margin="246,70,0,0" Name="textBox13" VerticalAlignment="Top" Width="120" />
                    <TextBox Height="23" HorizontalAlignment="Left" Margin="246,104,0,0" Name="textBox15" VerticalAlignment="Top" Width="120" />
                    <TextBox Height="23" HorizontalAlignment="Left" Margin="246,138,0,0" Name="textBox16" VerticalAlignment="Top" Width="120" />
                </Grid>
            </TabItem>
        </TabControl>
    </DockPanel>
</Window>
